cd build\classes
set path=.;C:\"Program Files"\Java\jdk1.7.0_10\bin
rmiregistry
pause